package com.yidian.server.goods;

import com.yidian.entity.PageResult;
import com.yidian.pojo.goods.Para;

import java.util.List;
import java.util.Map;

/**
 * @author whb
 * @create 2021-05-17 20:48
 * @decription 商品参数Service接口
 */
public interface ParaService {
    public List<Para> findAll();

    public PageResult<Para> findPage(int page, int size);

    public List<Para> findList(Map<String, Object> searchMap);

    public PageResult<Para> findPage(Map<String, Object> searchMap, int page, int size);

    public Para findById(Integer id);

    public void add(Para para);

    public void update(Para para);

    public void delete(Integer id);
}
